package io.renren.modules.sys.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;

import io.renren.modules.sys.dao.ClasstimeteacherDao;
import io.renren.modules.sys.entity.ClasstimeteacherEntity;
import io.renren.modules.sys.service.ClasstimeteacherService;


@Service("classtimeteacherService")
public class ClasstimeteacherServiceImpl extends ServiceImpl<ClasstimeteacherDao, ClasstimeteacherEntity> implements ClasstimeteacherService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<ClasstimeteacherEntity> page = this.page(
                new Query<ClasstimeteacherEntity>().getPage(params),
                new QueryWrapper<ClasstimeteacherEntity>()
        );

        return new PageUtils(page);
    }

}
